package com.example.simpleweb;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author: 田庆斌
 * @Date: 2023/10/10 21:51
 * @PackageName: com.example.simpleweb
 * @ClassName: DemoController
 * @Description: TODO
 * @Version: 1.0.0
 */
@RestController
@RequestMapping("/demo")
public class DemoController {

    @GetMapping("hello")
    public String hello() {
        return "hello world";
    }
}
